
public class Shape {
    public void draw() {
        System.out.println("画图形");
    }
}

class Rect extends Shape {
    public Rect() {
    }
    @Override
    public void draw() {
        System.out.println("长方形");
    }
}

class Cycle extends Shape {
    public Cycle() {
    }
    @Override
    public void draw() {
        System.out.println("圆形");
    }
}

class Flower extends Shape {
    public Flower() {
    }
    @Override
    public void draw() {
        System.out.println("❀");
    }
}

class Triangle extends Shape {
    public Triangle() {
    }
    @Override
    public void draw() {
        System.out.println("三角形");
    }
}

